import java.awt.*;
import java.awt.event.*;

import javax.swing.JComponent;

//swing classes
import com.sun.java.swing.*;

/**
 *
 * clasa Decorator
 */

public class Decorator extends JComponent
{
   public Decorator(JComponent c)
   {
      setLayout(new BorderLayout());
      add("Center", c);
   }
}



